package com.meilai.project.service.finance.invoice;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.dto.finance.invoice.InvoiceApplyCheckDTO;
import com.meilai.project.dto.finance.invoice.InvoiceApplyDTO;
import com.meilai.project.dto.finance.invoice.InvoiceApplySearchDTO;
import com.meilai.project.entity.finance.invoice.InvoiceApply;
import com.meilai.project.vo.business.sale.BillSaleGroupVO;
import com.meilai.project.vo.finance.invoice.InvoiceApplyVO;

import java.util.List;

/**
 * <p>
 * 开票申请表 服务类
 * </p>
 *
 * @author xhy
 * @since 2022-12-12
 */
public interface InvoiceApplyService extends IService<InvoiceApply> {

    Page<InvoiceApplyVO> selectPageList(InvoiceApplySearchDTO req);

    InvoiceApplyVO getOneById(Long id);

    boolean save(InvoiceApplyDTO req);

    boolean begin(InvoiceApplyDTO req);

    boolean pass(InvoiceApplyCheckDTO req);

    boolean returnBack(InvoiceApplyCheckDTO req);

    boolean delete(Long id);

    boolean actualDelete(Long id);

    List<BillSaleGroupVO> getList(Long id);
}
